﻿Imports System.Collections.Generic
Imports System.Text
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports System.Windows.Shapes

Public Class SortListViewColumn
    Inherits GridViewColumn

    Public Property SortProperty() As String
        Get
            Return DirectCast(GetValue(SortPropertyProperty), String)
        End Get
        Set(ByVal value As String)
            SetValue(SortPropertyProperty, value)
        End Set
    End Property

    Public Shared ReadOnly SortPropertyProperty As DependencyProperty = DependencyProperty.Register("SortProperty", GetType(String), GetType(SortListViewColumn))

    Public Property SortStyle() As String
        Get
            Return DirectCast(GetValue(SortStyleProperty), String)
        End Get
        Set(ByVal value As String)
            SetValue(SortStyleProperty, value)
        End Set
    End Property

    Public Shared ReadOnly SortStyleProperty As DependencyProperty = DependencyProperty.Register("SortStyle", GetType(String), GetType(SortListViewColumn))

End Class

